package com.xb.loan.encryptor;


import com.xb.loan.encryptor.util.ErrorCode;

/**
 * 异常输出
 * 
 * @author shahuaitao
 * 
 */
public class LotteryException extends Exception {

	private static final long serialVersionUID = -7721943845270884434L;

	public LotteryException(ErrorCode codeConst) {
		super(codeConst.getMsg());
		this.codeConst = codeConst;
	}

	private ErrorCode codeConst;

	public ErrorCode getCodeConst() {
		return codeConst;
	}

	public void setCodeConst(ErrorCode codeConst) {
		this.codeConst = codeConst;
	}

}
